package lodsve.test.mongodb.config;

import lodsve.mongodb.annotations.EnableMongo;
import lodsve.test.mongodb.commons.Constants;
import org.springframework.context.annotation.ComponentScan;

/**
 * .
 *
 * @author sunhao(sunhao.java @ gmail.com)
 * @version 1.0 2017/12/7 15:59
 */
@EnableMongo(
        dataSource = {Constants.DEMO_MONGO_DATASOURCE_NAME, Constants.TEST_MONGO_DATASOURCE_NAME},
        domainPackages = Constants.MONGO_DOMAIN_PACKAGES,
        basePackages = Constants.MONGO_BASE_PACKAGES
)
@ComponentScan({"lodsve.test.mongodb.service", "lodsve.test.mongodb.repository"})
public class AppConfig {
}
